package com.thinkingstar.iads.test;

import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.lang.util.NutMap;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.Ok;

import java.util.ArrayList;

@IocBean
@At("/ths")
public class ShiroBeetlTestModule {
    public static final String path = "beetl:/test";

    @At()
    @Ok(path+"/function.html")
    public void print() {
        NutMap nutMap = new NutMap();
        ArrayList<String> list = new ArrayList<>();
        list.add("my");
        list.add("my1");
        list.add("my2");
        nutMap.setv("values", list);
    }
}
